//
//  PHSegmentTabbar.h
//  SmallElephant
//
//  Created by Faith on 2024/11/11.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol PHSegmentTabbarDelegate <NSObject>

- (void)didSelectIndex:(NSInteger)index;

@end




@interface PHSegmentTabbar : UIView

@property (nonatomic, weak) id<PHSegmentTabbarDelegate> delegate;

- (void)setData:(NSArray*)dataList;


@end

NS_ASSUME_NONNULL_END
